package com.zzhou.linkinfo.clock.entity;

import java.io.Serializable;

/**
 * 获取联系人对象
 */
public class Person implements Serializable {
    private static final long serialVersionUID = -8368981077828431365L;

    private long id;     // 联系人id
    private String name; // 联系人名字
    private boolean isChecked;
    private long groupId;

    public Person() {
    }

    public Person(long id, String name) {
        this.id = id;
        this.name = name;
    }

    public void setId(long id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }

    public void setGroupId(long groupId) {
        this.groupId = groupId;
    }

    public long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public long getGroupId() {
        return groupId;
    }
}
